<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	
	<body>
		
	</body>
	
	<script>
		//设X = 5;
		//声明一个变量，创建一个变量，定义一个变量
		/**/
		var x = 5;
		var y = 10;
		
		//alert(x+y);
		
		console.log(x*y);
		
		console.log(x/y);
		
		console.log(x+y);
		
		console.log(x-y);
		
		console.log(y%x);
		//查看一个变量的类型，必须使用typeof命令
		console.log( typeof x );  //number数字类型
		
		var n = 0.1;
		
		console.log( typeof n );
		
		
	</script>
	
	
</html>



